#pragma once

struct STACK
{
	char* base;
	char* point;
	unsigned int bSize;
//	unsigned int maxSize;
	unsigned int num;
	unsigned int nSize; //now size
};

typedef struct STACK stack;

void StackInit(stack* source,char* base, unsigned int baseSize,unsigned int number);
void StackFree(stack* source);
void StackPush(stack* source,void* content);
void StackPop(stack* source,void* target);
int StackEmpty(stack* source);

